﻿using DirectUI.Mobile.UI.Controls;
using FrameWork.Classes.Data;

namespace FrameWork.Controls
{
public class PageManager:PageManagerDic
    {
  
    private static PageManager instance;
    public static PageManager Instance
    {
        get
        {
            if (instance == null)
            {
                instance = new PageManager();
            }
            return instance;
        }
        set
        {
            instance = value;
        }
        
    }
    public static void Reset()
    {
        if (instance != null)
        {
            instance.Pages.Clear();
     //       instance.DataSourceCollection.Clear();
            GlobeDataSourcePool.Instance.DataSourceCollection.Clear();
        }
    }
    }
}
